package com.weixing.mall.provider.model.enums;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Description 是否强制更新 <br/>
 * @author gjq
 * @date 2019/8/16 10:28
 */

@NoArgsConstructor
public enum IsForceUpdateEunm implements IBaseEnum<Integer> {
    //0不强制更新，1强制更新
    not_force(0,"不强制更新"),
    force(1,"强制更新");

    private int value;
    private String desp;

    IsForceUpdateEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
